﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace smforj.common.model
{
    /// <summary>
    /// 试衣间对象
    /// </summary>
    public class Fitting : BaseModel
    {
        private String loaction;

        /// <summary>
        /// 位置信息
        /// </summary>
        public String Loaction
        {
            get { return loaction; }
            set { loaction = value; }
        }

        /// <summary>
        /// 读卡器id
        /// </summary>
        public String ReaderIdentity { get; set; }
        /// <summary>
        /// 消失次数 (用于判断是否应该回收该对象)
        /// 当LostCount大于一定值时将回收该对象
        /// </summary>
        public int LostCount { get; set; }

        /// <summary>
        /// 最初读取时间
        /// </summary>
        public DateTime FirstReadTime { get; set; }

        /// <summary>
        /// 是否已经上传 0 未上传 1 上传
        /// </summary>
        public int IsUpload { get; set; }  
        /// <summary>
        /// 标签类型
        /// </summary>
        public CommodityType Type { get; set; }

        /// <summary>
        /// 天线，代表试衣间
        /// </summary>
        public int AntnnaNumber { get; set; }
    }
}
